<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>2d-旋转</title>
</head>
<body>
     transform: rotate(40deg); 
     <br><br>
    rotate 绕着中心点旋转==rotateZ<br>
    正值顺时针方向旋转 负值逆时针方向旋转
      <br><br>
     transform:rotateX(0deg) ;
     transform:rotateY(0deg) ;
     transform:rotateZ(0deg) ; 
     <strong>前两者3D效果</strong>
     <br>
     
      transform-origin:left top; 
</body>
</html>